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@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@whateverdomainto 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060303/9eeb986f/attachment.htm
Kristian Kielhofner
2006-Mar-03 14:41 UTC
[Asterisk-Users] IAX to SIP conversion: SIP From header issue
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@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@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, > JimJim, Set callerid= for the IAX user/friend. -- Kristian Kielhofner
> > Jim, > > Set callerid= for the IAX user/friend. > > -- > Kristian Kielhofner >This works. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060303/98223061/attachment.htm