[asterisk-users] Manager API - Originate Call - Need Help

Conrad Wood asterisk-users at conradwood.net
Wed Nov 1 04:32:30 MST 2006


On Wed, 2006-11-01 at 03:23 -0800, Ehsan Khosrowshahi wrote:
> Hi all,
> 
> How can i originate a call from someone outside my sip-network (for
> example my PSTN home number) to one of my SIP number?
> 
> I can originate a call from my SIP-network using this parameters in
> Originate call command :
> 
> Channel = SIP/0041435215301
> Context = default
> Exten = 00982166501553
> Priority = 1
> CallerID = 0041435215301
> 
> 
> this works with out any problems I initiate a call from one of my
> network sip clients (0041435215301) and call someone at anyside of the
> world, but Can I initiate a call from (00982166501553) to one of my
> sip users? 
> 
Why not do this:

Channel = ZAP/g1/00982166501553
Context = default
Exten = whateveryoursipphoneis
priority =1 
CallerID = whateveryouwant

If you don't have an extension for your sip phone, add this in context
default:

exten =>  whateveryoursipphoneis,1,SIP/SIP/0041435215301


Conrad



More information about the asterisk-users mailing list