返回列表 發帖

comnet phone outgoing not ok

Just registered and have a trial run. Incoming no problem but can't make any Outgoing call.

How comes,what is your SIP client? ATA? PC? iPhone? Android phone?

YH

TOP

Android csipsimple and Linux ekiga

TOP

本帖最後由 角色 於 2011-11-26 09:07 編輯

Have you tried any hardware ATA?

YH

TOP

don't have any ata

TOP

回復 3# ttmuskie

It should work in sip client. Check if you have been login somewhere.
CMphone needs a bit of timeout before a fresh registration

TOP

I want to try it under asterisk. Any brother can share the sip.conf and extension.conf? Thanks.

TOP

本帖最後由 角色 於 2011-11-26 15:55 編輯

回復 7# ttmuskie

send a PM to bubblestar who does have the settings.

YH

TOP

Thanks. Just sent.

TOP

回復 9# ttmuskie


   
Replied.  Please check PM.

TOP

I setup asterisk to play a DEMO sound for cmphone. When I called 35012565, it seems try to play to sound file but it immediate hang up. Here is the detail:

extensions.conf
  1. [from_cmphone]
  2. exten => 85235012565,n,Playback(demo-echotest)
  3. exten => 85235012565,n,Hangup()
複製代碼
sip.conf
  1. [cmphone]
  2. type=peer
  3. host=202.0.179.3
  4. port=5060
  5. fromdomain=huawei.com
  6. fromuser=85235012565
  7. realm=huawei
  8. secret=XXXX
  9. username=85235012565
  10. insecure=port,invite
  11. context=from_cmphone
  12. authname=85235012565
  13. dtmfmode=auto
  14. canreinvite=no
  15. qualify=no
複製代碼
cli
  1. == Using SIP RTP CoS mark 5
  2.     -- Executing [85235012565@from_cmphone:1] Playback("SIP/cmphone-00000000", "demo-echotest") in new stack
  3.   == Spawn extension (from_cmphone, 85235012565, 1) exited non-zero on 'SIP/cmphone-00000000'
複製代碼

TOP

exten => 85235012565,n,Playback(demo-echotest)

为什么是n,而不是
exten => 85235012565,1,Playback(demo-echotest)

角色

TOP

本帖最後由 ttmuskie 於 2011-11-26 17:28 編輯

yeah.. i copied the old config . it should be:

exten => 85235012565,1,Playback(demo-echotest)

And it is still the same problem. You could try to call the 35012565 and know what I mean.

TOP

好像缺了register string。

角色

TOP

Have that under general already:

[general]
pedantic=yes
register=85235012565:XXXX@202.0.179.3/85235012565

TOP

返回列表