Jump to content

snom one on mac for calling card


idd1717
 Share

Recommended Posts

When I have Snom One Free installed on my Mac (dynamic ip), how do i test call my pbx?

I have a calling card trunk created, how do i route all incoming calls to an external termination server for making outbound calls please? And how do I add prefix to be automatically added to the numbers then called (from the destination server)?

Where in Snom One can I implement iax2 trunk script somewhat like:

 

sip.conf

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[James]

type=friend

host=xx.xxx.xxx.xx (allowed ip)

port=5060

nat=yes

qualify=yes

disallow=all

allow=g729

allow=ulaw

allow=g723

context=James

canreinvite=yes

 

[James-dialout]

type=friend

host=xx.xxx.xxx.xxx (external server ip, for making outbound calls)

port=5060

nat=yes

qualify=yes

disallow=all

allow=g729

;allow=ulaw

;allow=g723

context=James

canreinvite=yes

 

;;;;;;;;;;;;;;;;;;;

 

 

 

extensions.conf

;;;;;;;;;;;;;;;;;;;;;

[James]

exten => _xxxxxxxx,1,Answer()

exten => _xxxxxxxx,n,NoOp(CLI:${CALLERID(num)})

exten => _xxxxxxxx,n,DISA(no-password,disa_test)

[disa_test]

exten => _X.,1,Dial(SIP/0011103${EXTEN}@James-dialout)

 

(xxxxxxxx = did number)[/b]

 

 

Many Thanks

Link to comment
Share on other sites

Do you have any extension registered to the system ? Can you call into your mailbox by the dialing the extension number? That would be the 1st step.

 

If you're trying to use the Calling card account to call an external source you can use a DID and mapped it to the calling card account. The link below works the same way for extensions and accounts on the system.

 

http://wiki.snomone.com/index.php?title=Extension_Accounts#Creating_a_Few_New_Extensions

 

Refer to these article on calling cards

 

Calling card

http://kiwi.pbxnsip.com/index.php/Calling_Card

 

Section on dial plan prefix.

 

http://wiki.snomone.com/index.php?title=Dial_Plan_Samples#Dial_Plan_with_Prefix_in_Front_of_the_Number

 

 

On your last question, it sounds like you want to create a link to another server, according to "iax2" implementation.

check this article on "Connecting Branch Offices Together"

 

http://wiki.snomone.com/index.php?title=Branch_Offices

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...