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

2006-11-01 Thread Ehsan Khosrowshahi
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/0041435215301Context = defaultExten = 00982166501553Priority = 1CallerID = 0041435215301this 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? ___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2006-11-01 Thread Conrad Wood
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

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2006-11-01 Thread mitcheloc

If I understood your question correctly, you just need to reverse everything.

Channel = OUTGOING TRUNK i.e. ZAP/00982166501553
Context = default
Exten = internal extension that points to - 0041435215301
Priority = 1
CallerID = 0041435215301

This will first initiate the call to the number 0041435215301 and then
connect it to the internal extension you specify in Exten that points
to SIP/0041435215301.

Cheers

On 11/1/06, Ehsan Khosrowshahi [EMAIL PROTECTED] 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?




___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users






--

Mitchel Constantin
Snap - A desktop user interface for Asterisk
www.snapanumber.com
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users