I'm running Asterisk CVS-HEAD-06/07/04.
When I try to originate a call from a SIP channel to a ZAP channel using manager everything works up to the point
when I pickup the ringing ZAP phone. Originate ZAP to SIP works fine. This is the error from my asterisk debug.


Jun 25 09:41:26 WARNING[770069]: chan_sip.c:1718 sip_write: Asked to transmit frame type 64, while native formats is 4 (read/write = 4/4)

I don't have any problem calling directly(using only the phones) from SIP to ZAP. My SIP phone is a Grandstream
and I'm using ULAW and ALAW only. This is from my sip.conf file


[roger]
type=friend
disallow=all
allow=ulaw
allow=alaw
host=dynamic
username=roger
[EMAIL PROTECTED]
context=home
callerid="roger" <805>


This is the manager command sent: ----------------------------------------------- Action: Originate Channel: SIP/ROGER Callerid: <[EMAIL PROTECTED]> Exten: 820 Context: home Priority: 1

These are the manager events received:
--------------------------------------------------
Event: Newchannel
Channel: SIP/ROGER-9f51
State: Down
Callerid:
Uniqueid: 1088170907.40

Event: Newcallerid
Channel: SIP/ROGER-9f51
Callerid: <[EMAIL PROTECTED]>
Uniqueid: 1088170907.40

Event: Newchannel
Channel: SIP/ROGER-9f51
State: Ringing
Callerid: <[EMAIL PROTECTED]>
Uniqueid: 1088170907.40

Event: Newstate
Channel: SIP/ROGER-9f51
State: Up
Callerid: <[EMAIL PROTECTED]>
Uniqueid: 1088170907.40

Response: Success
Message: Originate successfully queued

Event: Newexten
Channel: SIP/ROGER-9f51
Context: home
Extension: 824
Priority: 1
Uniqueid: 1088170907.40

Event: Newchannel
Channel: Zap/9-1
State: Rsrvd
Callerid: "marvin" <824>
Uniqueid: 1088170908.41

Event: Newstate
Channel: Zap/9-1
State: Ringing
Callerid: <[EMAIL PROTECTED]>
Uniqueid: 1088170908.41

Event: Newstate
Channel: Zap/9-1
State: Up
Callerid: <[EMAIL PROTECTED]>
Uniqueid: 1088170908.41

Event: Link
Channel1: SIP/ROGER-9f51
Channel2: Zap/9-1
Uniqueid1: 1088170907.40
Uniqueid2: 1088170908.41

Event: Unlink
Channel1: SIP/ROGER-9f51
Channel2: Zap/9-1
Uniqueid1: 1088170907.40
Uniqueid2: 1088170908.41

Event: Hangup
Channel: Zap/9-1
Uniqueid: 1088170908.41
Cause: 0

Event: Hangup
Channel: SIP/ROGER-9f51
Uniqueid: 1088170907.40
Cause: 1
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to