----- Original Message -----
From: "Zhang Peihao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 14, 2004 8:51 PM
Subject: [Asterisk-Users] Cooperate with SIP ITSP


> Hi All,
>
> When I want use Asterisk as a PBX to cooperate SIP ITSP,
> I can not set the caller ID, so SIP ITSP do not accept
> the call.
>
> In Asterisk, I set a account in sip.conf to register on
> ITSP SIP Server:
> register => [EMAIL PROTECTED]/6292
>
> And I added a user 6292 in Asterisk just like the account
> on ITSP SIP Server:
> [6291]
> type=friend
> username=6291
> callerid=6291
> host=dynamic
> context=default
> defaultip=172.16.195.92
> dtmf=info
> canreinvite=no
>
> And in extensions.conf, I set the incoming call's process
> flow as below:
> exten => 6291,1,Dial(SIP/6203&SIP/6202,20,tr)
>
> I set the outgoing call's process flow as below:
> exten => _0.,1,Dial(SIP/${EXTEN:[EMAIL PROTECTED],60)
>
> When I use 6291 pressing "06000" to make a call to ITSP user
> 6000, the call connected, but when I use other accounts on
> Asterisk make calls to ITSP, The ITSP server rejected them,
> because the caller IDs were not recognized.  So, can I set
> the caller account when I want make a call to ITSP?
>
>
> Zhang Peihao
> [EMAIL PROTECTED]
> 2004-01-15
>
>

Perhaps you're looking for SetCallerID?

  -= Info about application 'SetCallerID' =-

[Synopsis]:
Set CallerID

[Description]:
  SetCallerID(clid[|a]): Set Caller*ID on a call to a new
value.  Sets ANI as well if a flag is used.  Always returns 0

-----
Andrew Thompson http://aktzero.com/
Your eyes are weary from staring at the CRT. You feel sleepy. Notice how
restful it is to watch the cursor blink. Close your eyes. The opinions
stated above are yours. You cannot imagine why you ever felt otherwise.



_______________________________________________
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