[Asterisk-Users] IAX to SIP conversion: SIP From header issue
Kristian Kielhofner
kris at krisk.org
Fri Mar 3 14:41:03 MST 2006
JS wrote:
> I am trying to setup call between IAX client and SIP client using
> Asterisk 1.2.4.
>
> When IAX client makes a call, Asterisk sends SIP invite to the other end
> point. But, in the From header field, I see -- From: "iaxComm User"
> <sip:700000000 at ipaddress>
>
> Is there a way I can have the original username used by IAX client to
> appear in the from header field of SIP invite?
>
> For example, If bob calls Alice using iaxComm, I want
> sip:bob at whateverdomain to appear in the SIP invite that is sent to Alice
> (on her SIP client).
>
> In my setup, I use two Asterisks:
>
> Bob-----Asterisk A----------Asterisk B--------Alice
>
> Asterisk A is configured to call Asterisk B on SIP channel when it
> receives call for Alice.
>
> Asterisk B is looking in FROM header field to see who the call is coming
> from. Since From contains 700000000, it has no way to find out that it
> is coming from Bob.
>
> Thanks,
> Jim
Jim,
Set callerid= for the IAX user/friend.
--
Kristian Kielhofner
More information about the asterisk-users
mailing list