[asterisk-users] Dial plan question.
Aditya Kumar
adityakumar345 at yahoo.com
Wed Apr 28 00:53:08 CDT 2010
here is the dail plan I am using:
my extensions file:
[globals]
[ext-sip]
host=provider.sip.com
[default]
exten => bob,1,Dial(SIP/${EXTERN}@ext-sip,20)
----
expected dialing plan:
when some one calls bob,
Asterisk should add bob at provider.sip.com and sent to the external world.
But that is not working,.
can you pl let me know what I am missing?
Also,
is there a way that Asterisk will read completely bob at provider.sip.com from the received sip message and forwards directly to that domain.
That means,
When we receive a Request to bob at provider.sip.com, Asterisk should send that to the outgoing interface to bob at provider.sip.com\.
some plan like..
extern=>bob at x.com,1,Dial(SIP/{EXTERN},20)...????
________________________________
From: Aditya Kumar <adityakumar345 at yahoo.com>
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
Sent: Tue, April 27, 2010 10:11:16 PM
Subject: Re: [asterisk-users] Dial plan question.
Thanks a lot jim for the reply.
My issue is :
there is no numbers involved. I have soft clients.
when a user (bob) calls Alex,
he just opens his sip client and types in alex at pbx.com
so how can I write the translations for a case like that?
the examples you gave are when there are numbers..can u pl give me complete numbering plam
________________________________
From: Jim Dickenson <dickenson at cfmc.com>
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
Sent: Tue, April 27, 2010 7:09:45 PM
Subject: Re: [asterisk-users] Dial plan question.
I am not sure what your problem is. You can have a numeric extension dial an alphabetic sip user.
exten => 123,1,Dial(SIP/somename)
The soft phone registers to your box with whatever username you set up.
If your phone can dial alpha then you can have
exten => alpha,1,Dial(SIP/$(EXTEN})
--
Jim Dickenson
mailto:dickenson at cfmc.com
CfMC
http://www.cfmc.com/
On Apr 27, 2010, at 6:48 PM, Aditya Kumar wrote:
Hi All,
>
>
>pl help me with this basic question.
>
>
>I have a users (soft clients) with usernames having Alphabetics.
>I want to use Asterisk as my server.
>
>
>How should I have the dial plans as there are no numbers involved .
>so How can I make the configuration to work ( with numbers I can get this done using extensions.conf)
>
>
>my expected result is :
>alice at pbx.com should be able to call bob at pbx.com
>where pbx.com is astersik.
>
>
>Can you pl let me know how I can achieve this?
>
>
>--
>_____________________________________________________________________
>-- Bandwidth and Colocation Provided by http://www.api-digital.com --
>New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
>asterisk-users mailing list
>To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100427/9804fcd5/attachment-0001.htm
More information about the asterisk-users
mailing list