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:[EMAIL PROTECTED]/${EXTEN})

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of steven louse
Sent: Sunday, June 27, 2004 3:18 AM
To: [EMAIL PROTECTED]
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>[EMAIL PROTECTED]<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
[EMAIL PROTECTED]
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
 

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to