Khan,
This is essentially the same thing I was trying to make clear upon using
7960 phones. The fromuser variable in sip.conf is the entry that gets
written to the SIP header "from" variable. There should be a way to
make this fromuser dynamic to support these various situations.
Does anyone else have an opinion about this?
-Albert
> -----Original Message-----
> From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-
> bounces@lists.digium.com] On Behalf Of usman@user.iphonica.net
> Sent: Monday, February 28, 2005 2:11 AM
> To: asterisk-users@lists.digium.com
> Subject: [Asterisk-Users] setting up fromuser
>
>
> hi all,
>
> I have got a problem with asterisk "fromuser" field in sip.conf.
Actually
> I have got two asterisk servers communicating over sip. When a user
from
> Asterisk Server A calls a specific extension it is redirected to
another
> Asterisk Server B and that Asterisk Server B forwards it to a Soft-
> Switch.
> Now the problem being that the other Soft-Switch takes CLI from the
> "FROM"
> field of SIP Invite Packet. The Asterisk Server B puts
"Asterisk" in
the
> from field when redirecting the call to Soft-Switch. If I use the
> "fromuser" field then the CLI works but it is not dynamic.
However in
> originating
> call from Asterisk Server A the "from" field is correct. So my
question
> is
> that how can I make "fromuser" fild in sip.conf dynamic ? Means
that
> whatever is coming into ${CALLERIDNUM} should be assigned to fromuser
in
> sip.conf. Plz assist me in this problem.
>
> khan.
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users