steven louse
2004-Jun-27 01:17 UTC
[Asterisk-Users] Confused with CallerID when using the iax chanenls
Hi, I have two * box. One is box1 and the other is box2. And I have two iax clients A and B. A is registed with box1 and B is registed with box2. If I make a call from A to B using the following method: IAX/[<user>[:<secret>]@]<peer>[:<portno>][/<exten>[@<context>][/<options>]] The CalledID that B got is <user> but not A's CallerID. I am confused because I want to get the A's CallerID. Any help would be appreciated. _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
Joe Dennick
2004-Jun-27 08:27 UTC
[Asterisk-Users] Confused with CallerID when using the iax chanenls
Caller Ids get set in the sip.conf file for the specific device that originates the call. Whatever SIP device you are using to originate the call should send its Caller ID to the end-point, even through IAX. I would, however, recommend that you stop using IAX and use IAX2 in its place. Just keep in mind that IAX2 uses UDP Port 4569 instead of 5063 (so adjust your firewall appropriately). If you don't specify the port in the dial-string, it will automatically use the default. I specifically do NOT specify the context in the dial string because I only allow incoming IAX calls to go to a specific context (as defined in iax.conf). My dial string looks like: Dial(IAX2/user:pass@peer/${EXTEN}) -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of steven louse Sent: Sunday, June 27, 2004 3:18 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Confused with CallerID when using the iax chanenls Hi, I have two * box. One is box1 and the other is box2. And I have two iax clients A and B. A is registed with box1 and B is registed with box2. If I make a call from A to B using the following method: IAX/[<user>[:<secret>]@]<peer>[:<portno>][/<exten>[@<context>][/<options>]]The CalledID that B got is <user> but not A's CallerID. I am confused because I want to get the A's CallerID. Any help would be appreciated. _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _______________________________________________ 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.700 / Virus Database: 457 - Release Date: 6/6/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.700 / Virus Database: 457 - Release Date: 6/6/2004