Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] How to route SIP provider without DID


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
fotok at online.no
Guest





PostPosted: Tue Feb 17, 2015 5:45 pm    Post subject: [asterisk-users] How to route SIP provider without DID Reply with quote

Hi,

I'm struggling to separate inbound calls fro a SIP provider that does
not send DID.
I have tried .......sip.com/12345678 on register string
different context=from-no-did
Port not possible as only support 5060

Any suggestions?

Thank you!
HB


--
_____________________________________________________________________
-- 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
Back to top
universe at truemetal.org
Guest





PostPosted: Tue Feb 17, 2015 6:10 pm    Post subject: [asterisk-users] How to route SIP provider without DID Reply with quote

Am 17.02.2015 um 23:44 schrieb hbk:
Quote:
I'm struggling to separate inbound calls fro a SIP provider that does
not send DID.
I have tried .......sip.com/12345678 on register string
different context=from-no-did
Port not possible as only support 5060

You're right, this is always an annoying and confusing scenario. Here's
my sample for sipgate which works for separating inbound and outbound:

sip.conf:

register => user:pass@sipgate.de/sipgate-in

[sipgate-out]
type=friend
insecure=invite
nat=no
username=user
fromuser=user
fromdomain=sipgate.de
secret=pass
host=sipgate.de
qualify=no
canreinvite=no
dtmfmode=rfc2833
context=sipgate

extensions.conf:

[sipgate]
exten => sipgate-in,1,NoOp
exten => sipgate-in,n,Dial(SIP/priv)

(This is for incoming calls only)

And for my SIP hardphone which receives the calls from sipgate and dials
out via sipgate:

sip.conf:

[priv]
type=friend
secret=anotherpass
host=dynamic
nat=no
disallow=all
allow=ulaw
allow=alaw
canreinvite=no
context=sipgate-priv

[sipgate-priv]
exten => _X.,1,NoOp
exten => _X.,n,Dial(SIP/${EXTEN}@sipgate-out)


Good luck,
Markus


--
_____________________________________________________________________
-- 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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services